package ar.edu.unq.tpi.uis.tepe3.wicket.pages;

import org.apache.wicket.PageParameters;

import ar.edu.unq.tpi.uis.tepe3.dominio.User;
import ar.edu.unq.tpi.uis.tepe3.wicket.components.UserForm;

/**
 * Homepage
 */
public class NewUserPage extends LayoutPage {

	private UserForm form;

	public NewUserPage(User user) {
    	super();
    	this.form = new UserForm("abmUsuario", user);
    	this.add(this.form);
    }
	public NewUserPage(final PageParameters parameters) {
		this(new User());
	}
}
